package com.wrench.elevator.tida.domain;

import java.util.List;

public class Page
{
    private int total;
    
    private int current_page;
    
    private List list;
    
    private int limit;
    
    public int getTotal()
    {
        return total;
    }
    
    public void setTotal(int total)
    {
        this.total = total;
    }
    
    public int getCurrent_page()
    {
        return current_page;
    }
    
    public void setCurrent_page(int current_page)
    {
        this.current_page = current_page;
    }
    
    public List getList()
    {
        return list;
    }
    
    public void setList(List list)
    {
        this.list = list;
    }
    
    public int getLimit()
    {
        return limit;
    }
    
    public void setLimit(int limit)
    {
        this.limit = limit;
    }
    
    public Page(int total, int current_page, List list, int limit)
    {
        super();
        this.total = total;
        this.current_page = current_page;
        this.list = list;
        this.limit = limit;
    }
    
    public Page()
    {
        super();
        // TODO Auto-generated constructor stub
    }
    
    @Override
    public String toString()
    {
        return "Page [total=" + total + ", current_page=" + current_page + ", list=" + list + ", limit=" + limit + "]";
    }
    
}
